package com.aizhixin.lab.project.course.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Data
@Entity(name = "t_project_people_evaluating")
public class ProjectPeopleEvaluating {

  @Id
  private String id;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Column(name = "created_date")
  private Date createdDate;

  @Column(name = "created_by")
  private Long createdBy;

  @Column(name = "delete_flag")
  private Integer deleteFlag;

  @Column(name = "project_Id")
  private String projectId;

  @Column(name = "text")
  private String text;

  @Column(name = "description")
  private String description;

  @Column(name = "type")
  private Integer type;

  @Column(name = "code")
  private String code;

  @Column(name = "weight")
  private Double weight;

  @Column(name = "release_project_reply_id")
  private String releaseProjectReplyId;
}
